import random
import string

randomstr = ''.join([random.choice(string.ascii_letters + string.digits) for i in range(10)])
print(randomstr)

